package com.company.oa.workflow.dto.expense;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ExpenseItemDTO {
    
    private Long id;
    
    private Long expenseId;
    
    @NotBlank(message = "项目名称不能为空")
    private String itemName;
    
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;
    
    private String remark;
} 